package com.ruoyi.SSL.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 云产品自动部署信息对象 ssl_cloud_product_deploy
 *
 * @author ruoyi
 * @date 2024-12-12
 */
public class SslCloudProductDeploy extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** Id */
    private String id;

    /** 云厂商 */
    @Excel(name = "云厂商")
    private String cloudVendor;

    /** 云厂商keyId */
    @Excel(name = "云厂商keyId")
    private String accessKeyId;
    @Excel(name = "keySecret")
    private String accessKeySecret;

    //是否自动续签证书
    private String isAutoSsl;

    /** 云产品 */
    @Excel(name = "云产品")
    private String cloudProduct;
    private String isUniversal;


    private String issuingAuthority;

    /** 证书域名 */
    @Excel(name = "证书域名")
    private String certificateDomain;

    //绑定域名表的证书域名
    private String domainTxt;

    private Date sslCreateTime;

    /** 自动续签过期时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "证书过期时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date expiredTime;

    /** 状态 */
    @Excel(name = "状态")
    private String status;

    //以下字段用于流程运转，保存数据
    private String isYzOver;
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date autoExpiredTime;

    private String otherJson;

    private String whereSql;

    //部署状态
    private String deployStatus;

    public String getWhereSql() {
        return whereSql;
    }

    public void setWhereSql(String whereSql) {
        this.whereSql = whereSql;
    }

    public String getOtherJson() {
        return otherJson;
    }

    public String getIsAutoSsl() {
        return isAutoSsl;
    }

    public void setIsAutoSsl(String isAutoSsl) {
        this.isAutoSsl = isAutoSsl;
    }

    public void setOtherJson(String otherJson) {
        this.otherJson = otherJson;
    }

    public Date getSslCreateTime() {
        return sslCreateTime;
    }

    public void setSslCreateTime(Date sslCreateTime) {
        this.sslCreateTime = sslCreateTime;
    }

    public String getDeployStatus() {
        return deployStatus;
    }

    public void setDeployStatus(String deployStatus) {
        this.deployStatus = deployStatus;
    }

    public String getAccessKeySecret() {
        return accessKeySecret;
    }

    public void setAccessKeySecret(String accessKeySecret) {
        this.accessKeySecret = accessKeySecret;
    }

    public String getIssuingAuthority() {
        return issuingAuthority;
    }

    public void setIssuingAuthority(String issuingAuthority) {
        this.issuingAuthority = issuingAuthority;
    }

    public String getDomainTxt() {
        return domainTxt;
    }

    public void setDomainTxt(String domainTxt) {
        this.domainTxt = domainTxt;
    }

    public String getIsYzOver() {
        return isYzOver;
    }

    public void setIsYzOver(String isYzOver) {
        this.isYzOver = isYzOver;
    }

    public Date getAutoExpiredTime() {
        return autoExpiredTime;
    }

    public void setAutoExpiredTime(Date autoExpiredTime) {
        this.autoExpiredTime = autoExpiredTime;
    }

    public String getIsUniversal() {
        return isUniversal;
    }

    public void setIsUniversal(String isUniversal) {
        this.isUniversal = isUniversal;
    }

    public void setId(String id)
    {
        this.id = id;
    }

    public String getId()
    {
        return id;
    }

    public void setCloudVendor(String cloudVendor)
    {
        this.cloudVendor = cloudVendor;
    }

    public String getCloudVendor()
    {
        return cloudVendor;
    }

    public void setAccessKeyId(String accessKeyId)
    {
        this.accessKeyId = accessKeyId;
    }

    public String getAccessKeyId()
    {
        return accessKeyId;
    }

    public void setCloudProduct(String cloudProduct)
    {
        this.cloudProduct = cloudProduct;
    }

    public String getCloudProduct()
    {
        return cloudProduct;
    }

    public void setCertificateDomain(String certificateDomain)
    {
        this.certificateDomain = certificateDomain;
    }

    public String getCertificateDomain()
    {
        return certificateDomain;
    }

    public void setExpiredTime(Date expiredTime)
    {
        this.expiredTime = expiredTime;
    }

    public Date getExpiredTime()
    {
        return expiredTime;
    }

    public void setStatus(String status)
    {
        this.status = status;
    }

    public String getStatus()
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("cloudVendor", getCloudVendor())
            .append("accessKeyId", getAccessKeyId())
            .append("cloudProduct", getCloudProduct())
            .append("certificateDomain", getCertificateDomain())
            .append("expiredTime", getExpiredTime())
            .append("status", getStatus())
            .append("createTime", getCreateTime())
            .append("createBy", getCreateBy())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
